package com.gaofeng.algo.generic;

public class GenericTest {

    public static void main(String[] args) {
        String[] a = "hello,world,I,love,you".split(",");
        Pair<String> pair = ArrayAlgo.minMax(a);
        System.out.println("min:"+pair.getFirst());
        System.out.println("max:"+pair.getSecond());
    }
}
